<?php
session_start();
$_SESSION=array();
session_destroy();
header("content-type:text/html;charset=utf-8");
echo "<script>alert('退出成功');parent.location.href='login.php';</script>"
?>